package com.hdax.dmw.item.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdax.dmw.entity.item.DmItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author guoyisha
* @description 针对表【dm_item(节目表)】的数据库操作Mapper
* @createDate 2023-06-15 08:59:12
* @Entity com.hdax.dmw.item.entity.DmItem
*/
public interface DmItemMapper extends BaseMapper<DmItem> {

    @Select({
            "<script>",
            "select * from dm_item <where> id=#{itemId}}</where>",
            "</script>"
    })
    DmItem getItems(@Param("itemId") Long itemId);
}




